﻿<%@ Page Title="" EnableEventValidation="false" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RoleEmployee.aspx.cs" Inherits="MonkeyWarranty.Web.Employees.RoleEmployee" %>

<%@ Import Namespace="Resources" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <title>Phân quyền - nhân viên</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="row">
        <div class="col-lg-12">
            <h3>Phân quyền: <asp:Literal ID="ltrRole" runat="server"></asp:Literal></h3>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="alert alert-danger" runat="server" id="errorMessage" visible="False">
                <label class="control-label">
                    <asp:Literal ID="lblErrorMessage" runat="server"></asp:Literal></label>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="col-lg-5">
                <div class="form-group">
                    <label>Chưa cấp quyền</label>
                    <asp:ListBox ID="ListBox1" runat="server" CssClass="form-control" SelectionMode="Multiple" Height="150px">
                    </asp:ListBox>
                </div>
            </div>
            <div class="col-lg-1">
                <div class="form-group">
                    <label></label>
                    <p></p>
                    <asp:Button ID="btnAdd" runat="server" Text="&gt;" OnClick="btnAdd_Click" CssClass="form-control" /><p></p>
                    <asp:Button ID="btnRemove" runat="server" Text="&lt;" OnClick="btnRemove_Click" CssClass="form-control" />
                </div>
            </div>
            <div class="col-lg-5">
                <div class="form-group">
                    <label>Đã cấp quyền</label>
                    <asp:ListBox ID="ListBox2" runat="server" CssClass="form-control" SelectionMode="Multiple" Height="150px">
                    </asp:ListBox>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <asp:Button ID="btnSave" runat="server"
                Text="<%$ Resources:GlobalStrings, Save %>" CssClass="btn btn-primary" Width="100px"
                OnClick="btnSave_Click" />
            <a class="btn btn-default" href="Roles.aspx"><%=GlobalStrings.Cancel %></a>
        </div>
    </div>

    <script type="text/javascript">
        $(function() {
            $("#menu-user").addClass("active");
            $("#menu1-user").addClass("collapse in");
            $("#menu1-roles").addClass("active");
        });
    </script>
</asp:Content>
